<%def name="js()">
    ${h.javascript_link('/right/check_integer.jquery.js')}
</%def>

<%def name="name()">
    Name : ${h.text(name='name',id='name',value=_username)}
</%def>

% for i in ['read','write','secrect','reply','create','manage'] :
    <%def name=i>
        ${i} : ${h.text(name=i,id=i,value=session.get(i,''),**{'class':'NeedInteger'})} 
        % if i == 'manage' :
            <span class="warning"> Read the ${h.link_to('Manual',url('right_reference'))} ,please!</span>
        % endif
        <span class="hide"> 
            <span class="error">
                <div id=${i}err>
                    Integer please :)
                <div>
            </span>
        </span>
    </%def>
% endfor
